<?php


namespace app\controller\cms;


use app\model\from_key;
use app\model\sys_config;
use think\facade\Cache;

class Sys
{
    public function get($type=''){
        return sys_config::getinfo($type);
    }

    public function update(){
        return sys_config::editinfo();
    }

    public function getkey(){
        return app('json')->go(sys_config::getkey2());

    }

    public function edkey(){
        return app('json')->go(sys_config::edkey2());
    }
}